Optimal. Leaf size=71 \[ \frac {2 \tan (e+f x)}{3 f (a+b)^2 \sqrt {a+b \tan ^2(e+f x)+b}}+\frac {\tan (e+f x)}{3 f (a+b) \left (a+b \tan ^2(e+f x)+b\right )^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 71, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.120, Rules used = {4146, 192, 191} \[ \frac {2 \tan (e+f x)}{3 f (a+b)^2 \sqrt {a+b \tan ^2(e+f x)+b}}+\frac {\tan (e+f x)}{3 f (a+b) \left (a+b \tan ^2(e+f x)+b\right )^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 191
Rule 192
Rule 4146
Rubi steps
\begin {align*} \int \frac {\sec ^2(e+f x)}{\left (a+b \sec ^2(e+f x)\right )^{5/2}} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {1}{\left (a+b+b x^2\right )^{5/2}} \, dx,x,\tan (e+f x)\right )}{f}\\ &=\frac {\tan (e+f x)}{3 (a+b) f \left (a+b+b \tan ^2(e+f x)\right )^{3/2}}+\frac {2 \operatorname {Subst}\left (\int \frac {1}{\left (a+b+b x^2\right )^{3/2}} \, dx,x,\tan (e+f x)\right )}{3 (a+b) f}\\ &=\frac {\tan (e+f x)}{3 (a+b) f \left (a+b+b \tan ^2(e+f x)\right )^{3/2}}+\frac {2 \tan (e+f x)}{3 (a+b)^2 f \sqrt {a+b+b \tan ^2(e+f x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 6.12, size = 215, normalized size = 3.03 \[ \frac {(3 a+b) \sec ^5(e+f x) \left (\frac {2 \sqrt {2} \sin (e+f x)}{(a+b)^2 \sqrt {-a \sin ^2(e+f x)+a+b}}+\frac {\sqrt {2} \sin (e+f x)}{(a+b) \left (-a \sin ^2(e+f x)+a+b\right )^{3/2}}\right ) (a \cos (2 e+2 f x)+a+2 b)^{5/2}}{48 a f \left (a+b \sec ^2(e+f x)\right )^{5/2}}-\frac {\tan (e+f x) \sec ^4(e+f x) (a \cos (2 e+2 f x)+a+2 b)^{5/2}}{8 \sqrt {2} a f \left (-a \sin ^2(e+f x)+a+b\right )^{3/2} \left (a+b \sec ^2(e+f x)\right )^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.70, size = 134, normalized size = 1.89 \[ \frac {{\left ({\left (3 \, a + b\right )} \cos \left (f x + e\right )^{3} + 2 \, b \cos \left (f x + e\right )\right )} \sqrt {\frac {a \cos \left (f x + e\right )^{2} + b}{\cos \left (f x + e\right )^{2}}} \sin \left (f x + e\right )}{3 \, {\left ({\left (a^{4} + 2 \, a^{3} b + a^{2} b^{2}\right )} f \cos \left (f x + e\right )^{4} + 2 \, {\left (a^{3} b + 2 \, a^{2} b^{2} + a b^{3}\right )} f \cos \left (f x + e\right )^{2} + {\left (a^{2} b^{2} + 2 \, a b^{3} + b^{4}\right )} f\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: NotImplementedError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 1.61, size = 85, normalized size = 1.20 \[ \frac {\sin \left (f x +e \right ) \left (3 a \left (\cos ^{2}\left (f x +e \right )\right )+\left (\cos ^{2}\left (f x +e \right )\right ) b +2 b \right ) \left (b +a \left (\cos ^{2}\left (f x +e \right )\right )\right )}{3 f \cos \left (f x +e \right )^{5} \left (\frac {b +a \left (\cos ^{2}\left (f x +e \right )\right )}{\cos \left (f x +e \right )^{2}}\right )^{\frac {5}{2}} \left (a +b \right )^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.37, size = 61, normalized size = 0.86 \[ \frac {\frac {2 \, \tan \left (f x + e\right )}{\sqrt {b \tan \left (f x + e\right )^{2} + a + b} {\left (a + b\right )}^{2}} + \frac {\tan \left (f x + e\right )}{{\left (b \tan \left (f x + e\right )^{2} + a + b\right )}^{\frac {3}{2}} {\left (a + b\right )}}}{3 \, f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 13.90, size = 172, normalized size = 2.42 \[ -\frac {\left ({\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}-1\right )\,\sqrt {a+\frac {b}{{\left (\frac {{\mathrm {e}}^{-e\,1{}\mathrm {i}-f\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}}{2}\right )}^2}}\,\left (a\,3{}\mathrm {i}+b\,1{}\mathrm {i}+a\,{\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}\,6{}\mathrm {i}+a\,{\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}\,3{}\mathrm {i}+b\,{\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}\,10{}\mathrm {i}+b\,{\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}\,1{}\mathrm {i}\right )}{3\,f\,{\left (a+b\right )}^2\,{\left (a+2\,a\,{\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}+a\,{\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}+4\,b\,{\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}\right )}^2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sec ^{2}{\left (e + f x \right )}}{\left (a + b \sec ^{2}{\left (e + f x \right )}\right )^{\frac {5}{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________